package cn.hackcloud.designpattern.iterator;

import java.util.ArrayList;

import com.mysql.fabric.xmlrpc.base.Array;

public class Client {
	public static void main(String[] args) {
		ArrayList<College> list = new ArrayList<College>();
		ComputerCollege computerCollege = new ComputerCollege();
		InfomationCollege infomationCollege = new InfomationCollege();
		list.add(computerCollege);
		list.add(infomationCollege);
		OutputImpl outputImpl = new OutputImpl(list);
		outputImpl.printCollege();
	}
}
